package com.gitee.wsl.mathematics.coordinate.ext

import com.gitee.wsl.mathematics.coordinate.d3.Coordinate3
import com.gitee.wsl.mathematics.vector.ext.dot


fun <T:Number> Coordinate3<T, *>.pointsInSameDirection(other: Coordinate3<T, *>): Boolean = !(this.dot(other).approx(zero))